class Stu:
    def __init__(self,no,name,age) :
        self.sno = no
        self.sname = name
        self.sage = age

a = [Stu("","",0)]*3
print(a[0] is a[1],a[1] is a[2],a[0] is a[2])
b = [Stu("","",0) for i in range(3)]
print(b[0] is b[1],b[1] is b[2],b[0] is b[2])